package com.dtwave.eureka.service.feign;

import com.dtwave.eureka.entity.dto.UserWxDto;
import com.dtwave.eureka.fallback.UserWxServiceAPIFallback;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author andyFan
 * @since 2019年05月27日
 */

@FeignClient(name = "provider-service-eureka", fallback = UserWxServiceAPIFallback.class)
public interface FeignUserWxService {

    /**
     * 获取用户微信信息
     *
     * @return
     */
    @RequestMapping("/user-wx/findSome")
    List<UserWxDto> list();

}
